home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
pc
/
Demos
/
Bombardier_PC
/
LEAR31A.DIR
/
00022_Script_textroll
< prev
next >
Wrap
Text File
|
1999-04-26
|
950b
|
46 lines
property linkedSprite, linkedSprName,linkedSprRollName, mySprite, neuName
on new me
set mySprite = the SpriteNum of me
set myMember = the member of sprite mySprite
set neuName = the name of member myMember
set linkedSprName = "invis_"&neuName
set linkedSprRollName = neuName&"-rol"
set linkedSprite = getSpriteNumFromMemberName (linkedSprName)
set the stretch of sprite linkedSprite = FALSE
end
on mouseEnter me
set the ink of sprite mySprite = 39
set the member of sprite linkedSprite = member linkedSprRollName
puppetsound 3,"subroll"
end
on mouseLeave me
set the ink of sprite mySprite = 37
set the member of sprite linkedSprite = member linkedSprName
end
on mouseUp me
-- if neuName contains "aircraft" then
-- go to "trans2"
-- else if neuName contains "bomb" then
-- go to "bombtrans"
-- end if
puppetsound 3, "mouse5"
cursor -1
end